lcWndGetEntByID Home

Retrieves a graphic objects by its identifier. The functions searches in the block currenly linked with specified window.

 HANDLE lcWndGetEntByID (
   HANDLE hLcWnd,
   int Id
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
Id
  Identifier of a graphic object (LC_PROP_ENT_ID property).

Return Value

  Handle to a graphic object.
If an object with specified identifier is not found, the function returns NULL.

See Also

  lcWndGetEntByIDHlcWndGetEntByKeylcBlockGetEntByID